package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallCustomerCollectDao;
import com.appkubes.mall.core.entity.MallCustomerCollect;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallCustomerCollectService extends AbstractBaseService<BaseMallCustomerCollectDao, MallCustomerCollect> {

    MallCustomerCollect getOneByEntity(MallCustomerCollect entity);

    List<MallCustomerCollect> selectListByEntity(MallCustomerCollect entity);

    IPage<MallCustomerCollect> selectPageByEntity(IPage<MallCustomerCollect> page);
    IPage<MallCustomerCollect> selectPageByEntity(PageVO pageVO);

    IPage<MallCustomerCollect> selectPageByEntity(MallCustomerCollect entity, IPage<MallCustomerCollect> page);
    IPage<MallCustomerCollect> selectPageByEntity(MallCustomerCollect entity, PageVO pageVO);

    IPage<MallCustomerCollect> selectPageByEntity(MallCustomerCollect entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallCustomerCollect entity);
}
